package com.pth.dao;

import java.util.List;

import com.pth.model.Policy;

public interface PolicyDAO {

	public void save(Policy policy);
	
	public void delete(Policy policy);
	
	public void update(Policy policy);
	
	
	public Policy getPolicyByid(int id);
	
	public List<Policy> getPolicies(final int offset,final int pagesize);
	
	public List<Policy> getPoliciesOrderByscannum(final int offset,final int pagesize);
	
	public int getAllNum();
	
	List<Policy> getPolicies();
	
}
